Custom Dp Entry
constructor(uiModeType: UiModeType? = null, dpQualifierEntry: DpQualifierEntry? = null, orientation: Orientation? = Orientation.DEFAULT, customValue: ERROR CLASS: Symbol not found for Dp, finalQualifierResolver: DpQualifier? = null, priority: Int, inverter: Inverter? = Inverter.DEFAULT)
Parameters
ui Mode Type
The UI mode (CAR, TELEVISION, WATCH, NORMAL). Null for any mode.
dp Qualifier Entry
The Dp qualifier entry (type and value, e.g., SMALL_WIDTH > 600). Null if only UI mode is used.
orientation
The screen orientation (LANDSCAPE, PORTRAIT, DEFAULT).
custom Value
The Dp value to be used if the condition is met.
final Qualifier Resolver
Optional dimension qualifier (e.g., HEIGHT) to be applied at resolution time.
priority
The resolution priority. 1 is more specific (UI + Qualifier), 3 is less specific (Qualifier only).
inverter
The inverter type to adapt scaling width/height on rotation changes (default is Inverter.DEFAULT).